﻿@model Gfw.Web.Models.Account.WarrantTransferQueryViewModel

@{
    ViewBag.Title = "担保查询";
    
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}

@section scripts
{
    <script type="text/javascript">
 
        $(document).ready(function () {
            $('#Start').datepicker({ dateFormat: 'yy/mm/dd' });
            $('#End').datepicker({ dateFormat: 'yy/mm/dd' });
        });
    </script>
}

@using C.Mvc;
@using(Html.BeginForm())
{
    <div id="button">
        @Html.DropDownListFor(m => m.Status, ViewBag.WarrantStatusList as IEnumerable<SelectListItem>, "全部")
        @Html.EditorFor(m => m.Start)
        @Html.EditorFor(m => m.End)

        <input type="submit" value="查询" />
    </div>
    
    <div style="align">
        @Html.ValidationSummary(true)
        @Html.ValidationMessageFor(model => model.Status)
        @Html.ValidationMessageFor(model => model.Start)
        @Html.ValidationMessageFor(model => model.End)
    </div>
}

<div id="@Gfw.Web.Common.ViewHelper.AjaxContainer">
    @{Html.RenderAction("WarrantTransferQueryList", "UserAccount");}
</div>